﻿@using Resources
@if (Request.IsAuthenticated)
{
    <text>
        <ul class="nav navbar-nav navbar-right">
            @*<li>
                <button type="button" class="language-selector" value="en">EN</button>
                <button type="button" class="language-selector" value="ja">JA</button>
                <button type="button" class="language-selector" value="zh">ZH</button>
            </li>*@
            <li>
                @*@Html.ActionLink(EmptoolWebApp.Helpers.ClaimHelper.GetGivenName(User.Identity), "Index", "UserProfile", routeValues: null, htmlAttributes: null)*@
                @*<button type="button" class="btn btn-link" data-container="body" data-toggle="popover" data-placement="bottom" data-content="<div><b>Example popover #1</b> - content</div>" title="<b>Example popover #1</b> - title">@EmptoolWebApp.Helpers.ClaimHelper.GetGivenName(User.Identity)</button>*@
                <a href="javascript:void(0);" data-container="body" data-toggle="popover" data-placement="bottom" data-content="<div><b>Example popover #1</b> - content</div>" title="<b>Example popover #1</b> - title">@EmptoolWebApp.Helpers.ClaimHelper.GetGivenName(User.Identity)</a>
            </li>
            <li>
                @Html.ActionLink(ViewStrings.SignOut + " " + User.Identity.Name, "SignOut", "Account")
            </li>
        </ul>
    </text>
}
else
{
    @*<ul class="nav navbar-nav navbar-right">
        <li>@Html.ActionLink(ViewStrings.SignIn, "SignIn", "Account", routeValues: null, htmlAttributes: new { id = "loginLink" })</li>
    </ul>*@
}
